#include "cability.h"

CAbility::CAbility(const char*  name, const char*  flavourDesc, const char* effectDesc, int lv, const int maxLv
                   , const int reqLv, const int tier,const char* iconFile){
    this->name = QString(name);
    this->flavourDesc = QString(flavourDesc);
    this->effectDesc = QString(effectDesc);
    this->cLevel = lv;
    this->maxLevel = maxLv;
    this->reqLv = reqLv;
    this->tier = tier;
    icon = QIcon(iconFile);
}

CAbility::~CAbility(){

}

QString CAbility::getName() const{
    return name;
}
